#ifndef INCLUDED_SHIELD_H
#define INCLUDED_SHIELD_H

#include <SGE.h>
using namespace SGE;

class Shield
{
	public:
		Shield();
		~Shield();

		void Load();
		void Unload();
		void Update(float deltaTime);
		void Render(const SVector2& viewOffset);

		void ActivateShield(const SVector2& pos);
		void Kill();

		bool isActive() const {return mActive;}
		SCircle GetBoundingCircle() const	{ return SCircle(mPosition, 60.0f); }

	private:
		SGE_Sprite mSprite;
		SVector2 mPosition;
		bool mActive; 
		float mShieldDelay;
};
#endif // #ifndef INCLUDED_SHIELD_H